package com.yurui.anno.event;

import org.springframework.context.ApplicationEvent;

public class DemoEvent extends ApplicationEvent {

    private String type;

    public DemoEvent(Object source, String msg) {
        super(source);
        this.type = msg;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }


}
